If you use this Class in you project or code from it, you have to mention it in your application special thanks list (that you used class from Einhugur Software), and send us
a free copy of your application
Or you can register:
If you want to support us so we can go on making free custom classes for REALbasic then
you can register by Kagi with the provided registration application or by sending
$15 cheques adressed to:</B>
Björn Eiríksson
Brekkubyggd 44
210 Gardabaer
ICELAND
Note: Registration is to help us providing you with more free custom classes and addons, since we fully trust hard working
programmers like your self, we are providing you with our custom classes without making them cripled in any way before registration, and even unregistered users get technical support. (Registration registers as legal user of all of our current custom Classes for REALbasic)</Text><End>
Properties,2,1,14,
<End>
Image,1,
<Text><B>Image</B> as Picture
Sets the buttons image, you should set this one where the OnOpen event accours.
Using transparent image might be a good idea in some cases.<Text><End>
ImageOver,1,
<Text><B>ImageOver</B> as Picture
Sets the buttons MouseOver image to make Internet Explorer 4.0 style buttons, you should set this one where the OnOpen event accours.
Using transparent image might be a good idea in some cases.<End>
Text,1,
<Text><B>Text</B> as String
Sets the buttons text - - You should set this one where the OnOpen event accours</Text><End>
TextFont,1,
<Text><B>TextFont</B> as String
Sets the buttons TextFont - You should set this one where the OnOpen event accours</Text><End>
TextSize,1,
<Text><B>TextSize</B> as Integer
Sets the buttons TextSize - You should set this one where the OnOpen event accours</Text><End>
TextAlignment,1,
<Text><B>TextAlignment</B> as Integer
Sets the buttons TextAlignment - - You should set this one where the OnOpen event accours
0 (default) = Centered
1 = Left
2 = Right</Text><End>
ImageAlingment,1,
<Text><B>ImageAlingment</B> as Integer
Sets the buttons ImageAlignment - You should set this one where the OnOpen event accours
0 (Default) Image is centered in both directions
1 Image is aligned to the left and centered verticali</Text><End>
Sticky,1,
<Text><B>Sticky</B> as Boolean
Makes this button a sticky button
<B>Note:</B> If the Button should change its state when pressed, then
set let the MouseUp Event to return true)</Text><End>
Bold,1,
<Text><B>Bold</B> as Boolean
Makes text on button bold. </Text><End>
Italic,1,
<Text><B>Italic</B> as Boolean
Makes text on button italic. </Text><End>
Underline,1,
<Text><B>Underline</B> as Boolean
Makes text on button underlined. </Text><End>
BackColor,1,
<Text><B>BackColor</B> as Color
Sets the backcolor of the button. </Text><End>
TxtColor,1,
<Text><B>TxtColor</B> as Boolean
Sets the Text color of the button. </Text><End>
Enabled,1,
<Text><B>Enabled</B> as Boolean
Makes the button enabled or disabled.
<B>Special thanks: </B> To German W. Bauer for ideas on how to implement this method in the CPictureButton class.</Text><End>
Methods,2,2,1,
<End>
StickDown,2,
<Text><B>StickDown</B> Stick as Boolean
<B>Description:</B> Sets sticky-button manually to up or down. Has no affects on non-sticky buttons.